export default function (instance) {
    return [
        {
            title: '序号',
            type: 'index',
            width: 80,
            align: 'center'
        },
        {
            title: '经营单位名称',
            key: 'unitName',
            align: 'center',
            minWidth: 120,
            render: (h, params) => {
                instance.businessData[params.index] = params.row
                return h(
                    'div',
                    instance.$refs.businessTable.$scopedSlots.unitName(params.row)
                )
            }
        },
        {
            title: '经营单位海关代码',
            key: 'unitCustomsCode',
            align: 'center',
            minWidth: 140,
            render: (h, params) => {
                instance.businessData[params.index] = params.row
                return h(
                    'div',
                    instance.$refs.businessTable.$scopedSlots.unitCustomsCode(params.row)
                )
            }
        },
        {
            title: '统一社会信用代码',
            key: 'unitCreditCode',
            align: 'center',
            minWidth: 140,
            render: (h, params) => {
                instance.businessData[params.index] = params.row
                return h(
                    'div',
                    instance.$refs.businessTable.$scopedSlots.unitCreditCode(params.row)
                )
            }
        },
        {
            title: '检验检疫代码',
            key: 'unitCiqCode',
            align: 'center',
            minWidth: 140,
            render: (h, params) => {
                instance.businessData[params.index] = params.row
                return h(
                    'div',
                    instance.$refs.businessTable.$scopedSlots.unitCiqCode(params.row)
                )
            }
        },
        {
            title: '电子签章',
            key: 'qzUrl',
            align: 'center',
            width: 120,
            render: (h, params) => {
                instance.businessData[params.index] = params.row
                return h(
                    'div',
                    instance.$refs.businessTable.$scopedSlots.qzUrl(params.row)
                )
            }
        },
        {
            title: '管理',
            key: 'action',
            width: 60,
            align: 'center',
            fixed: 'right',
            render: (h, params) => {
                return h(
                    'div',
                    instance.$refs.businessTable.$scopedSlots.action(params.row)
                )
            }
        }
    ]
}
